package com.example.demo.service

import com.example.demo.bean.UserBean

interface UserDaoService {
    fun login(username:String,pwd:String): UserBean?
    fun register(username:String,pwd:String,phone:String): Boolean?
    fun delete(username:String): Boolean?
    fun update(phone:String): Boolean?
//    fun add(author: UserBean): Int
//    fun update(author: UserBean): Int
//    fun delete(id: Long): Int
//    fun findAuthor(id: Long): UserBean?
//    fun findAuthorList(): List<UserBean>
}